package com.jingtai.core.entity.shop;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;


import java.util.Date;

/**
 * 商品规格表
 * 
 * @author sunlaiqian
 * @date 2020-12-09 15:39:05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_goods_specifications")
@ApiModel(value = "商品规格表", description = "商品规格表")
public class GoodsSpecifications extends BaseEntity implements Serializable {




	/**
	 * 级别
	 */
	@CApiModelProperty(value = "级别",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer level;

	/**
	 * 一级ID
	 */
	@CApiModelProperty(value = "一级ID",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Long levelOfOne;

	/**
	 * 属性名称
	 */
	@CApiModelProperty(value = "类型 0：无 1：下拉框 2：输入框",required = true,cNotEmpty = true,cIntMin = 1,groups = {Create.class,Update.class})
	private Integer type;

	/**
	 * 规格名称
	 */
	@CApiModelProperty(value = "规格名称",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String specificationsName;

	/**
	 * 规格
	 */
	@CApiModelProperty(value = "规格",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer weight;

	/**
	 * 启用状态 0：已启用1：未启用
	 */
	@CApiModelProperty(value = "启用状态 0：已启用1：未启用",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer enableState;


}
